package com.dsj.gxrd.modules.activity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dsj.gxrd.modules.activity.domain.dto.RdNewsApprovalDto;
import com.dsj.gxrd.modules.activity.domain.dto.RdNewsDto;
import com.dsj.gxrd.modules.activity.domain.entity.RdNews;
import com.dsj.gxrd.modules.activity.domain.query.RdNewsQuery;
import com.dsj.gxrd.modules.activity.domain.vo.RdNewsVo;
import com.ruoyi.common.core.web.domain.AjaxResult;

import java.util.List;

/**
 * @author songpin566
 * @date 2023/10/07
 **/
public interface RdNewsService extends IService<RdNews> {

    List<RdNewsVo> selectRdNewsList(RdNewsQuery rdNewsQuery);

    boolean insertRdNews(RdNewsDto rdNewsDto);

    boolean updateRdNews(RdNewsDto rdNewsDto);

    RdNewsVo getInfo(Long rdNewsId);

    AjaxResult approval(RdNewsApprovalDto approvalDto);

    AjaxResult removes(List<Long> rdNewsIds);

}
